<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <!-- 默认方式 -->
  <video src="video/test.mp4" controls autoplay muted loop></video>
  <!-- 指定source兼容方式 -->
  <video controls autoplay muted loop>
    <source src="video/test.mp4">
    <source src="video/test.wmv">
  </video>
</body>

</html>